<div class="modal-content">
    <div class="modal-header">
        <h4 class="modal-title">更换单位申请</h4>
        <button type="button" class="close" data-dismiss="modal"
                aria-label="Close">
            <span aria-hidden="true">×</span>
        </button>
    </div>
    <div class="modal-body">
        <div class="container modal-wrap">
            <div class="row">
                <div class="col-sm-3">
                    <label class="col-form-label">原工作单位：</label>
                </div>
                <div class="col-sm-9">
                    <div class="form-group">
                        <select class="form-control" ng-model="user.gzdwpk" ng-options="dic.id as dic.name for dic in units "
                                form-check-alert="工作单位不能为空" disabled="disabled">
                            <option value="">==请选择==</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3">
                    <label class="col-form-label">原人事单位：</label>
                </div>
                <div class="col-sm-9">
                    <div class="form-group">
                        <select class="form-control" ng-model="user.rsdwpk" ng-options="dic.id as dic.name for dic in units "
                                form-check-alert="人事单位不能为空" disabled="disabled">
                            <option value="">==请选择==</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3">
                    <label class="col-form-label">新工作单位：</label>
                </div>
                <div class="col-sm-9">
                    <div class="form-group">
                        <select class="form-control" ng-model="changeUnit.gzdwpk_new" ng-options="dic.id as dic.name for dic in units "
                                form-check-alert="工作单位不能为空">
                            <option value="">==请选择==</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3">
                    <label class="col-form-label">新人事单位：</label>
                </div>
                <div class="col-sm-9">
                    <div class="form-group">
                        <select class="form-control" ng-model="changeUnit.rsdwpk_new" ng-options="dic.id as dic.name for dic in units "
                                form-check-alert="人事单位不能为空">
                            <option value="">==请选择==</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3">
                    <label class="col-form-label">更换状态：</label>
                </div>
                <div class="col-sm-9">
                    <div class="form-group" style="padding-top: 5px;">
                        <span ng-show="changeUnit.changestate == null">没有申请</span>
                        <span ng-show="changeUnit.changestate == 0">审核中</span>
                        <span ng-show="changeUnit.changestate == 1">审核通过</span>
                        <span ng-show="changeUnit.changestate == 2">审核不通过</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <div style="margin: auto;">
            <button type="button" class="btn btn-primary" ng-click="save()">
                <span aria-hidden="true">确认</span>
            </button>
            <button type="button" class="btn btn-secondary" data-dismiss="modal"
                    aria-label="Close">
                <span aria-hidden="true">取消</span>
            </button>
        </div>
    </div>
</div>


